﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RepaymentRate.aspx.cs" Inherits="ReportMobile.v2.RepaymentRate" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title><%=repayYear %> 年借贷款到期还款率</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
    <link rel="Stylesheet" type="text/css" href="../css/bootstrap.min.css" />
    <link rel="Stylesheet" type="text/css" href="../css/style.css" />
    <script type="text/javascript" src="../js/jquery-1.11.3.min.js"></script>
    <script type="text/javascript" src="../js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
    <ul>
        <li><a href="RepaymentRate.aspx?y=2015">2015年</a></li>
        <li><a href="RepaymentRate.aspx?y=2016">2016年</a></li>
    </ul>
    <p class="p1"><%=repayYear %> 年<span style="color:blue;"> 饲料事业部 </span>累计借出：</p>
    <h1><%=string.Format("{0:C2}",syb.JCZE) %></h1>
    <p class="p1">到期欠款还款率：</p>
    <h1><%=string.Format("{0:P2}",syb.HKL) %></h1>
    <ul class="u1">
        <li>到期欠款：<span><%=string.Format("{0:n2}",syb.DQJK) %></span></li>
        <li>到期已还：<span><%=string.Format("{0:n2}",syb.YCHDQJK) %></span></li>
        <li>到期未还：<span><%=string.Format("{0:n2}",syb.DQWH) %></span></li>
    </ul>
    <hr />
    <p class="p1"><span style="color:blue;">川渝区</span> 累计借出：</p>
    <h1><%=string.Format("{0:c2}",cyq.JCZE) %></h1>
    <p class="p1">到期欠款还款率：</p>
    <h1><%=string.Format("{0:p2}",cyq.HKL) %></h1>
        <ul class="u1">
        <li>到期欠款：<span><%=string.Format("{0:n2}",cyq.DQJK) %></span></li>
        <li>到期已还：<span><%=string.Format("{0:n2}",cyq.YCHDQJK) %></span></li>
        <li>到期未还：<span><%=string.Format("{0:n2}",cyq.DQWH) %></span></li>
    </ul>
</div>
    <asp:Repeater ID="rptRateCYQ" runat="server">
    <HeaderTemplate>
    <table class="table">
    <tr>
        <td>公司/区域</td>
        <td>借出总额</td>
        <td>到期欠款</td>
        <td>到期已还</td>
        <td>到期未还</td>
        <td>还款率</td>
    </tr>
        <p>单位：万元</p>
    </HeaderTemplate>
    <ItemTemplate>
        <tr>
            <td><%# Eval("公司简称") %></td>
            <td class="trNumber"><%# string.Format("{0:N}",Convert.ToDouble(Eval("借出总额")) / 10000) %></td>
            <td class="trNumber"><%# string.Format("{0:N}",Convert.ToDouble(Eval("到期借款")) / 10000) %></td>
            <td class="trNumber"><%# string.Format("{0:N}",Convert.ToDouble(Eval("已偿还到期金额")) /10000) %></td>
            <td class="trNumber">
                <a href="RepaymentRateDetail.aspx?area=cyq&areaname=<%# Eval("公司简称") %>&year=<%=repayYear %>"><%# string.Format("{0:N}",Convert.ToDouble(Eval("到期未还")) /10000) %></a>
            </td>
            <td class="trNumber"><%# string.Format("{0:P2}",Eval("还款率")) %></td>
        </tr>
    </ItemTemplate>
    <FooterTemplate>
    </table>
    </FooterTemplate>
    </asp:Repeater>
<div class="container">
    <hr />
    <p class="p1"><span style="color:blue;">非川渝区</span> 累计借出：</p>
    <h1><%=string.Format("{0:c2}",fcy.JCZE) %></h1>
    <p class="p1">到期欠款还款率：</p>
    <h1><%=string.Format("{0:p2}",fcy.HKL) %></h1>
        <ul class="u1">
        <li>到期欠款：<span><%=string.Format("{0:n2}",fcy.DQJK) %></span></li>
        <li>到期已还：<span><%=string.Format("{0:n2}",fcy.YCHDQJK) %></span></li>
        <li>到期未还：<span><%=string.Format("{0:n2}",fcy.DQWH) %></span></li>
    </ul>
</div>
    <asp:Repeater ID="rptRateFCY" runat="server">
    <HeaderTemplate>
    <table class="table">
    <tr>
        <td>公司/区域</td>
        <td>借出总额</td>
        <td>到期欠款</td>
        <td>到期已还</td>
        <td>到期未还</td>
        <td>还款率</td>
    </tr>
        <p>单位：万元</p>
    </HeaderTemplate>
    <ItemTemplate>
        <tr>
            <td><%# Eval("公司简称") %></td>
            <td class="trNumber"><%# string.Format("{0:N}",Convert.ToDouble(Eval("借出总额")) / 10000) %></td>
            <td class="trNumber"><%# string.Format("{0:N}",Convert.ToDouble(Eval("到期借款")) / 10000) %></td>
            <td class="trNumber"><%# string.Format("{0:N}",Convert.ToDouble(Eval("已偿还到期金额")) /10000) %></td>
            <td class="trNumber">
                <a href="RepaymentRateDetail.aspx?area=fcy&areaname=<%# Eval("公司简称") %>&year=<%=repayYear %>"><%# string.Format("{0:N}",Convert.ToDouble(Eval("到期未还")) /10000) %></a>
            </td>
            <td class="trNumber"><%# string.Format("{0:P2}",Eval("还款率")) %></td>
        </tr>
    </ItemTemplate>
    <FooterTemplate>
    </table>
    </FooterTemplate>
    </asp:Repeater>
    
    <p class="alert alert-warning">说明：为保证【还款率】更贴近实际管理需求，【到期已还】未加上客户超期归还的部份。</p>
    <%=cm.DisplayMenuOfBottom() %>
</body>
</html>
